package com.fifth.common.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 第五组
 * @since 2022-09-02
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("u_addr")
@ApiModel(value = "Addr对象", description = "")
public class Addr implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty("发货地址")
    private String addr;


    @TableLogic //标记该列为逻辑删除列
    @ApiModelProperty("0未删除，1已删除")
    private int isDeleted;

    @ApiModelProperty("用户id")
    private String uid;


}
